package com.sjq.yqgl.service;

import java.util.Map;
import net.sf.json.JSONObject;
import com.sjq.common.entity.LoginAccount;
import org.springframework.web.multipart.commons.CommonsMultipartFile;
import com.sjq.yqgl.entity.Yqxf;
import com.sjq.common.exception.ServiceException;
import com.sjq.common.util.PageResults;
import com.sjq.common.entity.Result;

public interface YqxfService {
	//新增
	public JSONObject addYqxf(Yqxf yqxf,LoginAccount la);
	//新增含有附件的页面
	public JSONObject addYqxfFilesByFTP(Yqxf yqxf,CommonsMultipartFile[]  fj,LoginAccount la);
	//删除
	public JSONObject deleteYqxf(String yqxfId,LoginAccount la);
	//修改
	public JSONObject updateYqxf(Yqxf yqxf,LoginAccount la);
	// 分页查询
	public PageResults<?> findYqxfByPage(int pageNo, int pageSize, Yqxf yqxf);
	
	//根据条件查询所有记录
	public JSONObject findYqxfByListAll(Yqxf yqxf,LoginAccount la);
	
}